﻿using Domain;
using Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.AppService.ERAppService
{
	public interface IERAppService
	{
		Task<bool> AddERAsync(ER er);
		ERFenYE DateERSSAsync(string HumanMajorKindId, string HumanMajorId, string gzc, DateTime startDate, DateTime endDate, int page, int pageSize,int zt,int zt1);
		Task<bool> UpdateERAsync(ER er);
		ERFenYE DateERSAsync(int page, int pageSize, int zt);
		Task<bool> UpdateERSAsync(ER er);
		Task<ER> GetERByNameAsync(int id);
		Task<bool> DeleteERAsync(int id);
		Task<bool> UpdateERApplicationAsync(ER er);
		Task<bool> UpdateERApprovalAsync(ER er);
		ERFenYE DateERAsync(string HumanMajorKindId, string HumanMajorId, string gzc, DateTime startDate, DateTime endDate, int page, int pageSize, int zt);
	}
}
